<div class="dialog modal fade in" id="saveSite" aria-hidden="false">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title">网站添加</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" id="saveForm" method="post" role="form">
                    <input id="sid" name="sid" type="hidden" value="">
                    <div class="form-horizontal">
                        <div class="form-group">
                            <label class="control-label col-md-3" for="name">网站名称</label>
                            <div class="col-md-9">
                                <input class="form-control text-box single-line" id="name" name="name" type="text" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-3" for="admin">网站后台</label>
                            <div class="col-md-9">
                                <input class="form-control text-box single-line" id="admin" name="admin" type="text" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-3" for="username">用户名称</label>
                            <div class="col-md-9">
                                <input class="form-control text-box single-line" id="username" name="username" type="text" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-3" for="password">用户密码</label>
                            <div class="col-md-9">
                                <input class="form-control text-box single-line" id="password" name="password" type="password" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-3" for="method">连接方式</label>
                            <div class="col-md-9">
                                <input class="form-control text-box single-line" id="method" name="method" type="text" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-3" for="status">状态</label>
                            <div class="col-md-9">
                                <select id="status" name="status" class="form-control">
                                    <option value="0">使用中</option>
                                    <option value="1">已出错</option>
                                    <option value="2">维护中</option>
                                    <option value="3">已停用</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-3" for="tid">网站类型</label>
                            <div class="col-md-9">
                                <input class="form-control text-box single-line" id="tid" name="tid" type="text" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-3" for="dmid">网站域名</label>
                            <div class="col-md-9">
                                <input class="form-control text-box single-line" id="dmid" name="dmid" type="text" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-3" for="hid">网站主机</label>
                            <div class="col-md-9">
                                <input class="form-control text-box single-line" id="hid" name="hid" type="text" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-3" for="dbid">网站数据库</label>
                            <div class="col-md-9">
                                <input class="form-control text-box single-line" id="dbid" name="dbid" type="text" value="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="control-label col-md-3" for="eid">网站邮箱</label>
                            <div class="col-md-9">
                                <input class="form-control text-box single-line" id="eid" name="eid" type="text" value="">
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-success" onclick="saveSite()">提交</button>
                <button type="button" class="btn btn-default" data-dismiss="modal" aria-hidden="true">取消</button>
            </div>
        </div>
    </div>
</div>